package com.yuxin.spirngboot.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.yuxin.spirngboot.entity.Dog;

@Configuration
public class MyConfig {

	@Bean
	public Dog getDog() {
		return new Dog("二狗", 21);
	}

}
